package com.infore.siteManagement.entity.equipment;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

/**
 * The persistent class for the EQUIP_SAMPLE_AND_PROJECT database table.
 * 仪器实例和因子中间表
 */
@Entity
@Table(name = "EQUIP_SAMPLE_AND_PROJECT")
@NamedQuery(name = "EquipSampleAndProject.findAll", query = "SELECT e FROM EquipSampleAndProject e")
public class EquipSampleAndProject implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	@Column(name = "EQUIP_SAMPLE_ID")
	private String equipSampleId;

	@Column(name = "PROJECT_CODE")
	private String projectCode;

	public EquipSampleAndProject() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEquipSampleId() {
		return this.equipSampleId;
	}

	public void setEquipSampleId(String equipSampleId) {
		this.equipSampleId = equipSampleId;
	}

	public String getProjectCode() {
		return this.projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

}